package com.bwie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName tb_spec
 */
@TableName(value ="tb_spec")
@Data
public class TbSpec implements Serializable {
    private Integer goodsId;
    /**
     * 规格id
     */
    @TableId(type = IdType.AUTO)
    private Integer specId;

    /**
     * 规格名称
     */
    private String specName;

    /**
     * 规格值
     */
    private Integer specValue;

    /**
     * 规格子值
     */
    private Integer specSubvalue;

    /**
     * 规格图片
     */
    private String specImage;

    /**
     * 成本价
     */
    private BigDecimal costPrice;

    /**
     * 供货价
     */
    private BigDecimal supplyPrice;

    /**
     * 售价
     */
    private BigDecimal sellingPrice;

    /**
     * 库存
     */
    private Integer specNum;

    /**
     * 销量
     */
    private Integer salesVolume;

    /**
     * 创建时间
     */
    private Date createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}